//
//  JYTHuodongCell.m
//  JYT_IOS
//
//  Created by nxa-tankeke on 17/1/9.
//  Copyright © 2017年 nxa-yuanguoxiang. All rights reserved.
//

#import "JYTHuodongCell.h"
#import "School.h"

@interface JYTHuodongCell()
@property (weak, nonatomic) IBOutlet UILabel *jianjieL;

@end

@implementation JYTHuodongCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)infoClick:(id)sender {
    if (self.resultBlock) {
        
        self.resultBlock();
    }
}

-(void)setSchool:(School *)school
{
    _school = school;
    
    [self.jianjieL setText:school.remark];
}
@end
